<?php
/**
 * Created by PhpStorm.
 * User: 4399-0661
 * Date: 15-5-12
 * Time: 下午6:40
 */

namespace Library\route;


class LibOrdinary extends LibBase
{
    /**
     * /sae?a=index&m=info&fds=1&ftt=1
     * 路由算法
     */
    public function action()
    {
        preg_match('/^\/(\w*)\?/', $this->url, $application);
        $this->application = $application[1];
        $this->module = $_GET['a'];
        $this->method = $_GET['m'];
        unset($_GET['a']);
        unset($_GET['m']);
    }
} 